# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo04
# Description:
# Author:       98745
# Date:         2019/3/12
#-------------------------------------------------------------------------------

from urllib3 import *
disable_warnings()
http=PoolManager()
url='http://baidu.com'
response=http.request('GET',url)
print(response.info())
print('------------------')
print(response.info()['Content-Length'])